package com.haojin.java3;

public class ComparableCircleTest {
public static void main(String[] args) {
	ComparableCircle c1 = new ComparableCircle(3.6);
	ComparableCircle c2 = new ComparableCircle(3.6);
	
	int compareValue = c1.compareTo(c2);
	if(compareValue > 0){
		System.out.println("c1对象大");
	}else if(compareValue < 0){
		System.out.println("c2对象大");
	}else{
		System.out.println("c1 c2 一样大");
	}
}
	
}
